package com.oba.fusioncharts.data;

/**
 * 
 * @author han
 * 
 * <b><chart caption='Daily Visits' subcaption='(from 8/6/2006 to 8/12/2006)'
 * lineThickness='5' showValues='0' formatNumberScale='0' anchorRadius='10'
 * divLineAlpha='20' divLineColor='CC3300' divLineIsDashed='1'
 * showAlternateHGridColor='1' alternateHGridColor='CC3300' shadowAlpha='40'
 * labelStep="2" numvdivlines='5' chartRightMargin="35" bgColor='FFFFFF,CC3300'
 * bgAngle='270' bgAlpha='10,10' alternateHGridAlpha='5' legendPosition ='RIGHT '></b>
 * 
 */
public class LineCondition {

	private String caption;
	private String subcaption;
	private Integer lineThickness;
	private Integer showValues;
	private Integer formatNumberScale;
	private Integer anchorRadius;
	private Integer divLineAlpha;
	private String divLineColor;
	private Integer divLineIsDashed;
	private Integer showAlternateHGridColor;
	private String alternateHGridColor;
	private Integer shadowAlpha;
	private Integer labelStep;
	private Integer numvdivlines;
	private Integer chartRightMargin;
	private String bgColor;
	private Integer bgAngle;
	private String bgAlpha;
	private Integer alternateHGridAlpha;
	private String legendPosition;

	public LineCondition(String caption, String subcaption) {
		this.caption = caption;
		this.subcaption = subcaption;
		this.lineThickness = 2;
		this.showValues = 0;
		this.formatNumberScale = 0;
		this.anchorRadius = 4;
		this.divLineAlpha = 20;
		this.divLineColor = "CC3300";
		this.divLineIsDashed = 1;
		this.showAlternateHGridColor = 1;
		this.alternateHGridColor = "CC3300";
		this.shadowAlpha = 40;
		this.labelStep = 2;
		this.numvdivlines = 5;
		this.chartRightMargin = 35;
		this.bgColor = "FFFFFF,CC3300";
		this.bgAngle = 270;
		this.bgAlpha = "10,10";
		this.alternateHGridAlpha = 5;
		this.legendPosition = "RIGHT";
	}

	public LineCondition(String caption, String subcaption,
			Integer lineThickness, Integer showValues,
			Integer formatNumberScale, Integer anchorRadius,
			Integer divLineAlpha, String divLineColor, Integer divLineIsDashed,
			Integer showAlternateHGridColor, String alternateHGridColor,
			Integer shadowAlpha, Integer labelStep, Integer numvdivlines,
			Integer chartRightMargin, String bgColor, Integer bgAngle,
			String bgAlpha, Integer alternateHGridAlpha, String legendPosition) {
		super();
		this.caption = caption;
		this.subcaption = subcaption;
		this.lineThickness = lineThickness;
		this.showValues = showValues;
		this.formatNumberScale = formatNumberScale;
		this.anchorRadius = anchorRadius;
		this.divLineAlpha = divLineAlpha;
		this.divLineColor = divLineColor;
		this.divLineIsDashed = divLineIsDashed;
		this.showAlternateHGridColor = showAlternateHGridColor;
		this.alternateHGridColor = alternateHGridColor;
		this.shadowAlpha = shadowAlpha;
		this.labelStep = labelStep;
		this.numvdivlines = numvdivlines;
		this.chartRightMargin = chartRightMargin;
		this.bgColor = bgColor;
		this.bgAngle = bgAngle;
		this.bgAlpha = bgAlpha;
		this.alternateHGridAlpha = alternateHGridAlpha;
		this.legendPosition = legendPosition;
	}

	public String getCaption() {
		return caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getSubcaption() {
		return subcaption;
	}

	public void setSubcaption(String subcaption) {
		this.subcaption = subcaption;
	}

	public Integer getLineThickness() {
		return lineThickness;
	}

	public void setLineThickness(Integer lineThickness) {
		this.lineThickness = lineThickness;
	}

	public Integer getShowValues() {
		return showValues;
	}

	public void setShowValues(Integer showValues) {
		this.showValues = showValues;
	}

	public Integer getFormatNumberScale() {
		return formatNumberScale;
	}

	public void setFormatNumberScale(Integer formatNumberScale) {
		this.formatNumberScale = formatNumberScale;
	}

	public Integer getAnchorRadius() {
		return anchorRadius;
	}

	public void setAnchorRadius(Integer anchorRadius) {
		this.anchorRadius = anchorRadius;
	}

	public Integer getDivLineAlpha() {
		return divLineAlpha;
	}

	public void setDivLineAlpha(Integer divLineAlpha) {
		this.divLineAlpha = divLineAlpha;
	}

	public String getDivLineColor() {
		return divLineColor;
	}

	public void setDivLineColor(String divLineColor) {
		this.divLineColor = divLineColor;
	}

	public Integer getDivLineIsDashed() {
		return divLineIsDashed;
	}

	public void setDivLineIsDashed(Integer divLineIsDashed) {
		this.divLineIsDashed = divLineIsDashed;
	}

	public Integer getShowAlternateHGridColor() {
		return showAlternateHGridColor;
	}

	public void setShowAlternateHGridColor(Integer showAlternateHGridColor) {
		this.showAlternateHGridColor = showAlternateHGridColor;
	}

	public String getAlternateHGridColor() {
		return alternateHGridColor;
	}

	public void setAlternateHGridColor(String alternateHGridColor) {
		this.alternateHGridColor = alternateHGridColor;
	}

	public Integer getShadowAlpha() {
		return shadowAlpha;
	}

	public void setShadowAlpha(Integer shadowAlpha) {
		this.shadowAlpha = shadowAlpha;
	}

	public Integer getLabelStep() {
		return labelStep;
	}

	public void setLabelStep(Integer labelStep) {
		this.labelStep = labelStep;
	}

	public Integer getNumvdivlines() {
		return numvdivlines;
	}

	public void setNumvdivlines(Integer numvdivlines) {
		this.numvdivlines = numvdivlines;
	}

	public Integer getChartRightMargin() {
		return chartRightMargin;
	}

	public void setChartRightMargin(Integer chartRightMargin) {
		this.chartRightMargin = chartRightMargin;
	}

	public String getBgColor() {
		return bgColor;
	}

	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}

	public Integer getBgAngle() {
		return bgAngle;
	}

	public void setBgAngle(Integer bgAngle) {
		this.bgAngle = bgAngle;
	}

	public String getBgAlpha() {
		return bgAlpha;
	}

	public void setBgAlpha(String bgAlpha) {
		this.bgAlpha = bgAlpha;
	}

	public Integer getAlternateHGridAlpha() {
		return alternateHGridAlpha;
	}

	public void setAlternateHGridAlpha(Integer alternateHGridAlpha) {
		this.alternateHGridAlpha = alternateHGridAlpha;
	}

	public String getLegendPosition() {
		return legendPosition;
	}

	public void setLegendPosition(String legendPosition) {
		this.legendPosition = legendPosition;
	}

}
